package org.ww.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.ww.common.utils.PageUtils;
import org.ww.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author ww
 * @email ww@qq.com
 * @date 2024-01-05 15:13:15
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByParams(Map<String, Object> params);

    List<PurchaseDetailEntity> getByPurchaseIds(List<Long> ids);

    void updateStatusByPurhcaseIds(List<Long> ids, Integer purchaseCode);

    List<PurchaseDetailEntity> getByIds(List<Long> purchaseItemIds);
}

